/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.japo.java.swing.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.japo.java.swing.igu.IGU;

/**
 *
 * @author CicloM
 */
public class GEA implements ActionListener{

    //Referencia al igu
    private final IGU igu;
    
    //Constructor
    public GEA(IGU igu) {
        this.igu = igu;
    }
    
    //Listener de accion

    @Override
    public void actionPerformed(ActionEvent e) {
        igu.cambiaColor();
    }
    
}
